package com.example.bbsbe.Repository;

import com.example.bbsbe.entity.comments;
import com.example.bbsbe.entity.user;
import org.hibernate.annotations.Comments;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentsRepository extends JpaRepository<comments, Long> {
    List<comments> findByOwner(String owner);
}
